import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class ContactPersonEntity with JsonConvert<ContactPersonEntity> {
  @JSONField(name: "data_type")
  String dataType;
  int id;
  @JSONField(name: "company_id")
  int companyId;
  @JSONField(name: "contact_id")
  int contactId;
  String name;
  @JSONField(name: "country_code")
  String countryCode;
  @JSONField(name: "phone_number")
  String phoneNumber;
  String email;
  String position;
  @JSONField(name: "is_primary")
  int isPrimary;
  @JSONField(name: "created_by")
  dynamic createdBy;
  @JSONField(name: "created_at")
  String createdAt;
  @JSONField(name: "updated_at")
  String updatedAt;
}
